/**
 * @author Dennis Meyer, Sebastian Brodehl
 *
 */
public class aStarNode{
	private int x;
    private int y;
    
    public double f = Double.POSITIVE_INFINITY;
    public double h = Double.POSITIVE_INFINITY;
    public double g = Double.POSITIVE_INFINITY;
    
    public aStarNode parent;
    
    public boolean visited;
    public boolean opened;
    public boolean walkable;
    
    aStarNode(int x, int y) {
    	this.x = x; 
    	this.y = y;
    }
    
    public String toString() {
    	return "(" + x + ", " + y + ") ";
    }

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	} 
}